package com.ikaros.entity;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * Created by Ikaros on 2017/9/10.
 */
@Entity
@Table(name = "product_info")
@Data
public class ProductInfo {
    @Id
    private String productId;

    private String productName;

    private BigDecimal productPrice;

    private int productStock;

    private String productDescription;

    private String productIcon;
    /**状态 ：0：正常 1：下架*/
    private int productStatus;
    /**类目编号.*/
    private int categoryType;

}
